import { Button } from 'antd';

import { CanvasRender } from './components';
import styles from './style.module.sass';

function Editor() {
  return (
    <div className={styles['tt-layout']} style={{ '--nav-w': '300px' } as React.CSSProperties}>
      <div className={styles['tt-layout-nav']}>
        <Button>sfdsfsdfsd</Button>
      </div>
      <div className={styles['tt-layout-content']}>
        <CanvasRender />
      </div>
    </div>
  );
}

export default Editor;
